<include file="Public/header"/>
<style>
    .report-file {
        display: block;
        position: relative;
        width: 120px;
        height: 34px;
        overflow: hidden;
        border: 1px solid #428bca;
        background: none repeat scroll 0 0 #428bca;
        color: #fff;
        cursor: pointer;
        text-align: center;
        float: left;
        margin-right: 5px;
        border-radius: 3px;
        margin-top: 20px;
    }

    .report-file span {
        cursor: pointer;
        display: block;
        line-height: 34px;
    }

    .file-prew {
        position: absolute;
        top: 0;
        left: 0;
        width: 120px;
        height: 34px;
        opacity: 0;
        filter: alpha(opacity=0);
        cursor: pointer;
    }
</style>
<div class="wrapper m-t">
    <div class="panel panel-info">
        <div class="panel-heading no-padding">
            <div class="panel-options">
                <ul class="nav nav-tabs">
                    <li><a href="{:U('OrderSet/parameterList')}">订单参数</a></li>
                    <li ><a href="{:U('OrderSet/craftSet')}">工艺信息设置</a></li>
                    <li class="active"><a href="{:U('OrderSet/linetype')}">线条要求设置</a></li>
                    <li><a href="{:U('OrderSet/colorset')}">颜色管理</a></li>
                    <li><a href="{:U('OrderSet/goalpost')}">门型设置</a></li>
                </ul>
            </div>
        </div>
        <div class="panel-body">
            <div class="tab-content">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">

                        <a class="h5 font-bold">线条型号列表</a>
                        <a href="{:U('OrderSet/addline')}" class="btn btn-sm btn-primary m-l">新增线条型号</a>
                        <a href="{:U('OrderSet/linelenth')}" class="btn btn-sm btn-primary m-l">线条长度设置</a>
                    </div>
                    <div class="ibox-content">
                        <table class="table table-bordered">
                            <thead>
                            <tr>
                                <th width="10 "><input type="checkbox"></th>
                                <th>ID</th>
                                <th>商品名称</th>
                                <th>上级菜单</th>

                                <th>层级</th>
                                <th>状态</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody>
                            <volist name="_list" id="vo" key="k">
                                <tr>
                                    <td><input type="checkbox" name="post[]" value="{$vo.id}"></td>
                                    <td>{$vo.id}</td>
                                    <td>{$vo.deli}{$vo.line_name}</td>
                                    <td>无</td>
                                    <td>{$vo.level}</td>
                                    <td>
                                        <if condition="$vo.status eq 1">
                                            正常
                                            <else/>
                                            禁用
                                        </if>
                                    </td>

                                    <td>
                                        <a class="text-info m-r" href="{:U('OrderSet/addline?id='.$vo['id'])}">编辑</a>
                                        <a class="text-info confirm ajax-get"
                                           href="{:U('OrderSet/linedel?id='.$vo['id'])}">删除</a>
                                    </td>
                                </tr>
                            </volist>
                            </tbody>
                        </table>
                        <div class="page">{$_page}</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<include file="Public/footer"/>



